import Vue from 'vue';
import singleSpaVue from 'single-spa-vue';
import appOptions from './page/app'

import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';

Vue.use(ElementUI);
Vue.config.productionTip = false

const vueLifecycles = singleSpaVue({
    Vue,
    appOptions
});

// 应用初始
export const bootstrap = [
    vueLifecycles.bootstrap
];

// 应用挂载
export const mount = [
    vueLifecycles.mount
];

// 应用卸载
export const unmount = [
    vueLifecycles.unmount
];